﻿namespace FFF.Test.Entity.FW
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Domain.Entities;
    using Abp.AutoMapper;
    using FFF.Test.Entity.FW.View;
    using FFF.Test.Entity.Framework.Entity;

	/// <summary>
    /// 应用系统表
    /// </summary>
	[Table("FW_Application")]
    [Display(Name = "应用系统表", Description = "应用系统表")]
    [AutoMapFrom(typeof(ViewFWApplication))] 
    public partial class FWApplicationEntity : BaseEntity<Guid>
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Column("ApplicationGUID")]
        [Display(Name = "应用系统表主键", Description = "应用系统表主键")]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public override Guid Id { get; set; }

		/// <summary>
        /// 应用程序名称
        /// </summary>
		[Display(Name = "应用程序名称", Description = "应用程序名称")]
        [Column("ApplicationName")]
		[StringLength(128)]
        public string ApplicationName { get; set; }   

		/// <summary>
        /// 应用程序系统Code
        /// </summary>
		[Display(Name = "应用程序系统Code", Description = "应用程序系统Code")]
        [Column("ApplicationCode")]
		[StringLength(128)]
        public string ApplicationCode { get; set; }   

		/// <summary>
        /// 应用程序系统排序
        /// </summary>
		[Display(Name = "应用程序系统排序", Description = "应用程序系统排序")]
        [Column("ApplicationOrderCode")]
		[StringLength(128)]
        public string ApplicationOrderCode { get; set; }   

		/// <summary>
        /// 应用程序图标
        /// </summary>
		[Display(Name = "应用程序图标", Description = "应用程序图标")]
        [Column("ApplicationIconCls")]
		[StringLength(128)]
        public string ApplicationIconCls { get; set; }   

		/// <summary>
        /// 是否禁用
        /// </summary>
		[Display(Name = "是否禁用", Description = "是否禁用")]
        [Column("ApplicationIsDisable")]
        public byte ApplicationIsDisable { get; set; }   

		/// <summary>
        /// 备注
        /// </summary>
		[Display(Name = "备注", Description = "备注")]
        [Column("ApplicationRemark")]
		[StringLength(99999)]
        public string ApplicationRemark { get; set; }   
    }
}
